<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysUomBean.id}"/>
		<f:event type="preRenderView" listener="#{sysUomBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sys Uom"/>

	<ui:define name="header">
		Sys Uom
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty sysUomBean.id}">
				Edit existing Sys Uom
			</c:when>
			<c:otherwise>
				Create a new Sys Uom
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="sysUomBeanSysUomUomNo" value="Uom No:"/>
				<h:panelGroup>
					<h:inputText id="sysUomBeanSysUomUomNo" required="true" value="#{sysUomBean.sysUom.uomNo}"/>
					<h:message for="sysUomBeanSysUomUomNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="sysUomBeanSysUomUomCode" value="Uom Code:"/>
				<h:panelGroup>
					<h:inputText id="sysUomBeanSysUomUomCode" maxLength="10" value="#{sysUomBean.sysUom.uomCode}"/>
					<h:message for="sysUomBeanSysUomUomCode" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysUomBeanSysUomUomName" value="Uom Name:"/>
				<h:panelGroup>
					<h:inputText id="sysUomBeanSysUomUomName" maxLength="50" value="#{sysUomBean.sysUom.uomName}"/>
					<h:message for="sysUomBeanSysUomUomName" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysUomBeanSysUomUomDescr" value="Uom Descr:"/>
				<h:panelGroup>
					<h:inputText id="sysUomBeanSysUomUomDescr" maxLength="100" value="#{sysUomBean.sysUom.uomDescr}"/>
					<h:message for="sysUomBeanSysUomUomDescr" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysUomBeanSysUomMmLocationsForLctAreaSizeUomNo" value="Mm Locations For Lct Area Size Uom No:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysUomBean.sysUom.mmLocationsForLctAreaSizeUomNo}"/>
					<h:dataTable id="sysUomBeanSysUomMmLocationsForLctAreaSizeUomNo" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct No"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctNo" value="#{_item.lctNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctNo" value="#{mmLocationBean.add.lctNo}"/>
								<h:message for="mmLocationBeanAddLctNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct Seq No"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctSeqNo" value="#{_item.lctSeqNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctSeqNo" value="#{mmLocationBean.add.lctSeqNo}"/>
								<h:message for="mmLocationBeanAddLctSeqNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct Area Size"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctAreaSize" value="#{_item.lctAreaSize}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctAreaSize" value="#{mmLocationBean.add.lctAreaSize}"/>
								<h:message for="mmLocationBeanAddLctAreaSize" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct Width"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctWidth" value="#{_item.lctWidth}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctWidth" value="#{mmLocationBean.add.lctWidth}"/>
								<h:message for="mmLocationBeanAddLctWidth" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct Length"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctLength" value="#{_item.lctLength}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctLength" value="#{mmLocationBean.add.lctLength}"/>
								<h:message for="mmLocationBeanAddLctLength" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(mmLocationBean.added)}" id="sysUomBeanSysUomMmLocationsForLctAreaSizeUomNoAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{mmLocationBean.add.sysUomByLctAreaSizeUomNo}" value="#{sysUomBean.sysUom}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysUomBeanSysUomMmLocationsForLctDimUomNo" value="Mm Locations For Lct Dim Uom No:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysUomBean.sysUom.mmLocationsForLctDimUomNo}"/>
					<h:dataTable id="sysUomBeanSysUomMmLocationsForLctDimUomNo" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct No"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctNo" value="#{_item.lctNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctNo" value="#{mmLocationBean.add.lctNo}"/>
								<h:message for="mmLocationBeanAddLctNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct Seq No"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctSeqNo" value="#{_item.lctSeqNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctSeqNo" value="#{mmLocationBean.add.lctSeqNo}"/>
								<h:message for="mmLocationBeanAddLctSeqNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct Area Size"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctAreaSize" value="#{_item.lctAreaSize}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctAreaSize" value="#{mmLocationBean.add.lctAreaSize}"/>
								<h:message for="mmLocationBeanAddLctAreaSize" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct Width"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctWidth" value="#{_item.lctWidth}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctWidth" value="#{mmLocationBean.add.lctWidth}"/>
								<h:message for="mmLocationBeanAddLctWidth" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Lct Length"/>
							</f:facet>
							<h:link outcome="/mmLocation/view">
								<f:param name="id" value="#{_item.lctNo}"/>
								<h:outputText id="itemLctLength" value="#{_item.lctLength}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmLocationBeanAddLctLength" value="#{mmLocationBean.add.lctLength}"/>
								<h:message for="mmLocationBeanAddLctLength" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(mmLocationBean.added)}" id="sysUomBeanSysUomMmLocationsForLctDimUomNoAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{mmLocationBean.add.sysUomByLctDimUomNo}" value="#{sysUomBean.sysUom}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysUomBeanSysUomPcPurchaseReceiptItems" value="Pc Purchase Receipt Items:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysUomBean.sysUom.pcPurchaseReceiptItems}"/>
					<h:dataTable id="sysUomBeanSysUomPcPurchaseReceiptItems" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Qty"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceiptItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemRcptQty" value="#{_item.rcptQty}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptItemBeanAddRcptQty" value="#{pcPurchaseReceiptItemBean.add.rcptQty}"/>
								<h:message for="pcPurchaseReceiptItemBeanAddRcptQty" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Ppu"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceiptItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemRcptPpu" value="#{_item.rcptPpu}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptItemBeanAddRcptPpu" value="#{pcPurchaseReceiptItemBean.add.rcptPpu}"/>
								<h:message for="pcPurchaseReceiptItemBeanAddRcptPpu" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Vat Perc Val"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceiptItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemRcptVatPercVal" value="#{_item.rcptVatPercVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptItemBeanAddRcptVatPercVal" value="#{pcPurchaseReceiptItemBean.add.rcptVatPercVal}"/>
								<h:message for="pcPurchaseReceiptItemBeanAddRcptVatPercVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Vat Val"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceiptItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemRcptVatVal" value="#{_item.rcptVatVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptItemBeanAddRcptVatVal" value="#{pcPurchaseReceiptItemBean.add.rcptVatVal}"/>
								<h:message for="pcPurchaseReceiptItemBeanAddRcptVatVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Total Price Exc Vat"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceiptItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemRcptTotalPriceExcVat" value="#{_item.rcptTotalPriceExcVat}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptItemBeanAddRcptTotalPriceExcVat" value="#{pcPurchaseReceiptItemBean.add.rcptTotalPriceExcVat}"/>
								<h:message for="pcPurchaseReceiptItemBeanAddRcptTotalPriceExcVat" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(pcPurchaseReceiptItemBean.added)}" id="sysUomBeanSysUomPcPurchaseReceiptItemsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{pcPurchaseReceiptItemBean.add.sysUom}" value="#{sysUomBean.sysUom}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysUomBeanSysUomPcPurchaseOrderItems" value="Pc Purchase Order Items:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysUomBean.sysUom.pcPurchaseOrderItems}"/>
					<h:dataTable id="sysUomBeanSysUomPcPurchaseOrderItems" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Qty"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPoQty" value="#{_item.poQty}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderItemBeanAddPoQty" value="#{pcPurchaseOrderItemBean.add.poQty}"/>
								<h:message for="pcPurchaseOrderItemBeanAddPoQty" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Ppu"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPoPpu" value="#{_item.poPpu}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderItemBeanAddPoPpu" value="#{pcPurchaseOrderItemBean.add.poPpu}"/>
								<h:message for="pcPurchaseOrderItemBeanAddPoPpu" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Status Inc Vat"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPoStatusIncVat" value="#{_item.poStatusIncVat}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderItemBeanAddPoStatusIncVat" value="#{pcPurchaseOrderItemBean.add.poStatusIncVat}"/>
								<h:message for="pcPurchaseOrderItemBeanAddPoStatusIncVat" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Vat Perc Val"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPoVatPercVal" value="#{_item.poVatPercVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderItemBeanAddPoVatPercVal" value="#{pcPurchaseOrderItemBean.add.poVatPercVal}"/>
								<h:message for="pcPurchaseOrderItemBeanAddPoVatPercVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Vat Val"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPoVatVal" value="#{_item.poVatVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderItemBeanAddPoVatVal" value="#{pcPurchaseOrderItemBean.add.poVatVal}"/>
								<h:message for="pcPurchaseOrderItemBeanAddPoVatVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(pcPurchaseOrderItemBean.added)}" id="sysUomBeanSysUomPcPurchaseOrderItemsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{pcPurchaseOrderItemBean.add.sysUom}" value="#{sysUomBean.sysUom}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysUomBeanSysUomPcPurchaseReqItems" value="Pc Purchase Req Items:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysUomBean.sysUom.pcPurchaseReqItems}"/>
					<h:dataTable id="sysUomBeanSysUomPcPurchaseReqItems" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Qty"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReqItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPrQty" value="#{_item.prQty}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqItemBeanAddPrQty" value="#{pcPurchaseReqItemBean.add.prQty}"/>
								<h:message for="pcPurchaseReqItemBeanAddPrQty" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Ppu"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReqItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPrPpu" value="#{_item.prPpu}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqItemBeanAddPrPpu" value="#{pcPurchaseReqItemBean.add.prPpu}"/>
								<h:message for="pcPurchaseReqItemBeanAddPrPpu" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Status Inc Vat"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReqItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPrStatusIncVat" value="#{_item.prStatusIncVat}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqItemBeanAddPrStatusIncVat" value="#{pcPurchaseReqItemBean.add.prStatusIncVat}"/>
								<h:message for="pcPurchaseReqItemBeanAddPrStatusIncVat" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Vat Perc Val"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReqItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPrVatPercVal" value="#{_item.prVatPercVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqItemBeanAddPrVatPercVal" value="#{pcPurchaseReqItemBean.add.prVatPercVal}"/>
								<h:message for="pcPurchaseReqItemBeanAddPrVatPercVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Vat Val"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReqItem/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPrVatVal" value="#{_item.prVatVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqItemBeanAddPrVatVal" value="#{pcPurchaseReqItemBean.add.prVatVal}"/>
								<h:message for="pcPurchaseReqItemBeanAddPrVatVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(pcPurchaseReqItemBean.added)}" id="sysUomBeanSysUomPcPurchaseReqItemsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{pcPurchaseReqItemBean.add.sysUom}" value="#{sysUomBean.sysUom}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{sysUomBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty sysUomBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{sysUomBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{sysUomBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>